﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Abp.Organizations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.MonthReport
{
    /// <summary>
    /// 卡片月用量
    /// </summary>
    public class MonthReport: Entity, IHasCreationTime, IMustHaveOrganizationUnit
    {
        public const int MaxTitleLength = 256;
        public const int MaxDescriptionLength = 64 * 1024;//64kb

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 当前负责人所在的OU
        /// </summary>
        public long OrganizationUnitId { get; set; }

        /// <summary>
        /// 数据Id（主键）
        /// </summary>
        public Guid R_Id { get; set; }

        public string UCCID { get; set; }

        [MaxLength(MaxDescriptionLength)]
        public string Remark { get; set; }

        /// <summary>
        /// 结算日期
        /// </summary>
        public DateTime Settlementdate { get; set; }

        /// <summary>
        /// 当月累计流量(M)
        /// </summary>
        public float UseQty { get; set; }

        /// <summary>
        /// 上累计流量(M)
        /// </summary>
        public float PreMonthQty { get; set; }


        /// <summary>
        /// 套餐
        /// </summary>
        public string Package { get; set; }
    }
}
